<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <button v-for="(item,index) of arr" :key="index">{{item | }}</button>
    <script>
        var total = 18
        // 一页显示6条
        var arr =[]
        for(let i=0;i<18;i+=6){
            arr.push(i)
        }
        console.log(arr);
    </script>
    
</body>
</html>